import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

import './styles/base.less'
import './utils/vant'
import 'amfe-flexible'
import store from '@/store'



import moment from 'moment'
moment.locale('zh-cn')
// 全局过滤器
Vue.filter('relvTime', (val) => {

  return moment(val).fromNow()
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')